package com.springboot.handler;

/**
 * @author zz
 * @version 1.0
 * @Description 定义统一的错误响应格式
 */
public class ErrorResponse {
    private String code;
    private String message;
    public ErrorResponse(String code, String message) {
        this.code = code;
        this.message = message;
    }
    public String getCode() {
        return code;
    }
    public String getMessage() {
        return message;
    }
}
